package com.nit.lab.dto.medical;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class InfoDTO {

    private Long key;
    private Long infoId;
    private String dtTime;
    private String ecgSamples;
    private String sensorId;
    private String infoImage;
    private int count;
    private int id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    public InfoDTO() {
    }

    public InfoDTO(Long key, Long infoId, String dtTime, String ecgSamples, String sensorId, String infoImage, int count, Date gmtCreate) {
        this.key = key;
        this.infoId = infoId;
        this.dtTime = dtTime;
        this.ecgSamples = ecgSamples;
        this.sensorId = sensorId;
        this.infoImage = infoImage;
        this.count = count;
        this.gmtCreate = gmtCreate;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public String getDtTime() { return dtTime; }

    public void setDtTime(String dtTime) { this.dtTime = dtTime; }

    public String getEcgSamples() { return ecgSamples; }

    public void setEcgSamples(String ecgSamples) { this.ecgSamples = ecgSamples; }

    public String getSensorId() {
        return sensorId;
    }

    public void setSensorId(String sensorId) {
        this.sensorId = sensorId;
    }

    public String getInfoImage() {
        return infoImage;
    }

    public void setInfoImage(String infoImage) {
        this.infoImage = infoImage;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public int getCount() { return count; }

    public void setCount(int count) { this.count = count; }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public int getId() { return id; }

    public void setId(int id) { this.id = id; }
}
